<?php

	('Access-Control-Allow-Origin：*');
	// include("../xsdb.class.php");
	include("mysql.php");
	$db = new mysql();
	$tid = $_POST["tid"];
	$name = $_POST["name"];
	$phone = $_POST["phone"];
	$cardid = $_POST["cardid"];
	$mail = $_POST["mail"];
	$sosperson = $_POST["sosperson"];
	$sosphone = $_POST["sosphone"];
	$school = $_POST["school"];
	$major = $_POST["major"];
	$money = $_POST["money"];
	$ispay = $_POST["ispay"];
	$creattime = $_POST["creattime"];
	$educationType = $_POST["educationType"];
	$remarks = $_POST["remarks"];
	$oweafee = $_POST["oweafee"];
	$chengben = $_POST["chengben"];
	$cengci = $_POST["cengci"];
	$unifiedExam = $_POST["unifiedExam"];
	$paper = $_POST["paper"];
	$baccalaureate = $_POST["baccalaureate"];
	$sql = "INSERT INTO students (cengci,tid,name,phone,cardid,mail,sosperson,sosphone,school,major,money,ispay,creattime,educationType,chengben,remarks,oweafee,unifiedExam,paper,baccalaureate) VALUES ('{$cengci}','{$tid}','{$name}','{$phone}','{$cardid}','{$mail}','{$sosperson}','{$sosphone}','{$school}','{$major}','{$money}','{$ispay}','{$creattime}','{$educationType}','{$chengben}','{$remarks}','{$oweafee}','{$unifiedExam}','{$paper}','{$baccalaureate}')";

	echo $db->Query($sql);

	$db->close();
?>